release: fix sourcode code upload label #159
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: CI | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: [ master, dev ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
CI: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ | |
ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, | |
macos-12, macos-13, # x86_64 | |
macos-14, # aarch64 | |
# windows-2019 uses an outdated pipx for some resone, any other image is up to date | |
windows-2022, | |
] | |
steps: | |
- uses: actions/checkout@main | |
with: | |
submodules: 'true' | |
- run: which pipx && pipx --version | |
- name: Install deps | |
run: pipx install -- meson ninja | |
- run: which meson && meson --version | |
- run: which ninja && ninja --version | |
- name: Meson Setup | |
run: meson setup --reconfigure --buildtype=debug -- build | |
- name: Build | |
run: meson compile --jobs 4 --verbose -C build | |
- name: Dump Meson log on failure | |
if: failure() && runner.os == 'Windows' | |
run: cat D:\a\Amalgamate\Amalgamate\build\meson-logs\meson-log.txt | |
- name: Dump Meson log on failure | |
if: failure() && runner.os == 'macOS' | |
run: cat /Users/runner/work/Amalgamate/Amalgamate/build/meson-logs/meson-log.txt |