2022-06-22 12:49:31 +12:00
|
|
|
name: Build and upload artifact
|
|
|
|
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-09-10 17:50:00 +12:00
|
|
|
runs-on: ubuntu-22.04
|
2022-06-22 12:49:31 +12:00
|
|
|
steps:
|
2022-10-17 05:45:24 +13:00
|
|
|
- uses: actions/checkout@v3
|
2022-06-22 12:49:31 +12:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
- name: Install depends
|
2023-09-10 17:50:00 +12:00
|
|
|
run: sudo apt-get install -y mingw-w64 ninja-build nasm; pip3 install meson
|
2023-11-05 20:47:07 +09:00
|
|
|
- name: Upgrade gcc
|
|
|
|
run: npx xpm init && npx xpm install @xpack-dev-tools/mingw-w64-gcc@latest --verbose
|
2022-06-22 12:49:31 +12:00
|
|
|
- name: Make
|
2023-11-05 20:47:07 +09:00
|
|
|
run: export PATH=$GITHUB_WORKSPACE/xpacks/.bin:$PATH && make setup dist-no-7z
|
2022-10-17 05:45:24 +13:00
|
|
|
- uses: actions/upload-artifact@v3
|
2022-06-22 12:49:31 +12:00
|
|
|
with:
|
|
|
|
name: dist
|
|
|
|
path: out/
|