-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1454 from qdraw/feature/202403-mac-arm64-try2
Feature/202403 mac arm64 mk2
- Loading branch information
Showing
28 changed files
with
1,823 additions
and
1,075 deletions.
There are no files selected for viewing
File renamed without changes.
73 changes: 73 additions & 0 deletions
73
.github/workflows/desktop-electron-sonarqube-missing-net-dependency.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: SonarQube Desktop .NET Analyze (Missing .NET dependency) | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: | ||
- synchronize | ||
- opened | ||
branches: | ||
- master | ||
paths: | ||
- 'starskydesktop/**' | ||
- '.github/workflows/**' | ||
push: | ||
branches: [master] | ||
paths: | ||
- 'starsky/**' | ||
schedule: | ||
- cron: '36 0 * * 0,2,4,6' | ||
|
||
env: | ||
PR_NUMBER_GITHUB: ${{ github.event.pull_request.number }} | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
env: | ||
WEBSITE_SITE_NAME: "ci" | ||
|
||
steps: | ||
- name: 'Checkout repository on branch: ${{ github.REF }}' | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.HEAD_REF }} | ||
|
||
- name: Retrieve entire repository history | ||
run: | | ||
git fetch --prune --unshallow | ||
- name: Use Java 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk | ||
architecture: x64 # (x64 or x86) - defaults to x64 | ||
|
||
- name: Cache sonarqube packages (*nix) | ||
uses: actions/cache@v4 | ||
with: | ||
# nuget cache files are stored in `~/.sonar` on Linux/macOS | ||
path: ~/.sonar | ||
key: ${{ runner.os }}-build-desktop-sonarqube | ||
restore-keys: | | ||
${{ runner.os }}-build-desktop-sonarqube- | ||
- name: NpmCi | ||
working-directory: ./starskydesktop | ||
run: npm ci | ||
|
||
- name: Test | ||
working-directory: ./starskydesktop | ||
env: | ||
STARSKY_SONAR_KEY: ${{ secrets.STARSKY_SONAR_KEY }} | ||
STARSKY_SONAR_TOKEN: ${{ secrets.STARSKY_SONAR_TOKEN }} | ||
STARSKY_SONAR_ORGANISATION: ${{ secrets.STARSKY_SONAR_ORGANISATION }} | ||
STARSKY_SONAR_URL: ${{ secrets.STARSKY_SONAR_URL }} | ||
run: npm run test:ci | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.