Add package workflow #5
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: build and test | |
on: | |
push: | |
branches: [ mob ] | |
jobs: | |
test-x86_64-linux: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Package (x86_64-linux) | |
run: ./configure --prefix=tinycc && make && make install | |
test-aarch64-macos: | |
runs-on: macos-14 | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Package (aarch64-macos) | |
run: ./configure --prefix=tinycc && make && make install | |
test-x86_64-windows: | |
runs-on: windows-2022 | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: microsoft/setup-msbuild@v2 | |
- name: Package (x86_64-windows) | |
shell: cmd | |
run: | | |
"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 | |
.\win32\build-tcc.bat -i tinycc -c cl |