quickerNES/.github/workflows/make.yml

30 lines
660 B
YAML
Raw Permalink Normal View History

2024-01-20 06:10:55 +00:00
name: Build and Run Tests
on:
pull_request:
branches: [ "main" ]
jobs:
build:
2024-01-20 19:54:21 +00:00
runs-on: ubuntu-latest
2024-01-20 06:10:55 +00:00
steps:
- uses: actions/checkout@v3
2024-01-20 06:13:03 +00:00
with:
submodules: recursive
2024-01-20 07:07:40 +00:00
- name: Create build directory
run: mkdir build
2024-01-20 07:11:45 +00:00
- name: Installing meson and ninja
run: python3 -m pip install meson ninja
2024-01-20 07:07:40 +00:00
- name: Run meson configuration
2024-01-20 19:54:21 +00:00
run: meson setup build -DonlyOpenSource=true
2024-01-20 07:11:03 +00:00
- name: Building project
run: ninja -C build
2024-01-20 07:13:07 +00:00
- name: Running tests
2024-01-20 09:23:50 +00:00
run: ninja test -C build
- uses: actions/upload-artifact@v4
with:
name: meson-logs
2024-01-20 19:57:33 +00:00
path: build/meson-logs/