Test darwin-x64
and win32-arm64
compilation
#4
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
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
platform: linux | |
arch: x64 | |
- os: macos-latest | |
platform: darwin | |
arch: x64 | |
- os: macos-latest | |
platform: darwin | |
arch: arm64 | |
- os: windows-latest | |
platform: win32 | |
arch: x64 | |
- os: windows-latest | |
platform: win32 | |
arch: arm64 | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.platform }}-${{ matrix.arch }} | |
steps: | |
- if: ${{ matrix.platform == 'linux' }} | |
run: | | |
sudo apt update | |
sudo apt install -y libgtk-4-dev | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- run: npm install -g bare-make | |
- run: bare-make generate --platform ${{ matrix.platform }} --arch ${{ matrix.arch }} --debug | |
- run: bare-make build |