Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed May 11, 2024
1 parent ea44a08 commit f9ed3e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-nuitka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
arch: [x64]
include:
- os: macos-latest
arch: arm64

runs-on: ${{ matrix.os }}

Expand All @@ -35,10 +38,13 @@ jobs:
run: |
if [[ ${{ matrix.arch }} == 'x64' ]]; then
echo "arch=amd64" >> $GITHUB_OUTPUT
echo "nuitka_arch=x86_64" >> $GITHUB_OUTPUT
elif [[ ${{ matrix.arch }} == 'arm64' ]]; then
echo "arch=arm64" >> $GITHUB_OUTPUT
echo "nuitka_arch=arm64" >> $GITHUB_OUTPUT
elif [[ ${{ matrix.arch }} == 'win32' ]]; then
echo "arch=x86" >> $GITHUB_OUTPUT
echo "nuitka_arch=universal" >> $GITHUB_OUTPUT
fi
- name: Install dependencies
Expand Down Expand Up @@ -95,6 +101,7 @@ jobs:
macos-app-icon: "res/img/icon/logo.png"
macos-app-version: ${{ steps.info.outputs.version }}
macos-create-app-bundle: true
macos-target-arch: ${{ steps.arch.outputs.nuitka_arch }}

- name: Upload report
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f9ed3e9

Please sign in to comment.