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