bmxconverter/.github/workflows/test.yml

32 lines
711 B
YAML
Raw Normal View History

2023-11-17 13:46:44 -08:00
name: Test on Linux
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt update -y && sudo apt install meson build-essential libmagick++-dev -y
2023-11-17 14:12:46 -08:00
- name: Download executable
uses: actions/download-artifact@v2.1.1
with:
name: linux
path: b16convert
2023-11-17 13:46:44 -08:00
- name: Set up build directory
run: meson setup builddir
- name: Run test script
2023-11-17 14:12:46 -08:00
run: ./test.sh -p b16convert
2023-11-17 13:46:44 -08:00
- name: Upload test artifacts
uses: actions/upload-artifact@v3.1.3
with:
name: test-files
path: testout