ci: Add windows CI. #10
This file contains hidden or 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
on: | |
push: | |
branches: | |
- 3.11 | |
jobs: | |
mac_arm: | |
name: MacOS ARM Build | |
runs-on: macos-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/work/Nuitka-Python/Nuitka-Python-Deps | |
dep-build | |
key: ${{ runner.os }}-arm-${{ hashFiles('build.mac.sh') }} | |
- name: Uninstall homebrew | |
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" | |
- name: Run Build | |
run: bash build.mac.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Nuitka-Python311_mac_arm64 | |
path: ~/Library/Nuitka-Python311-arm64 | |
mac_x64: | |
name: MacOS Intel Build | |
runs-on: macos-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/work/Nuitka-Python/Nuitka-Python-Deps | |
dep-build | |
key: ${{ runner.os }}-intel-${{ hashFiles('build.mac.sh') }} | |
- name: Uninstall homebrew | |
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" | |
- name: Run Build | |
run: arch -x86_64 bash build.mac.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Nuitka-Python311_mac_x86_64 | |
path: ~/Library/Nuitka-Python311-x86_64 | |
windows: | |
name: Windows Build | |
runs-on: windows-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Run Build | |
run: build.bat | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Nuitka-Python311_windows_x64 | |
path: output |