Skip to content

Commit

Permalink
Move contrib build workflow to its own file
Browse files Browse the repository at this point in the history
add MSYS2 build
  • Loading branch information
bbbradsmith committed Feb 4, 2025
1 parent e65462c commit 5cc2219
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,3 @@ jobs:
with:
name: nsfplay-unstable--${{ env.BUILD_TAG }}
path: artifact/

build-contrib-ubuntu:
name: Contrib Ubuntu
runs-on: ubuntu-24.04
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Build
run: make -C contrib -j

build-contrib-macos:
name: Contrib macOS
runs-on: macos-14
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Build
run: make -C contrib -j
44 changes: 44 additions & 0 deletions .github/workflows/contrib.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: NSFPlay contrib build test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-msys2:
name: Contrib MSYS2
runs-on: windows-latest
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
install: make mingw-w64-gcc mingw-w64-libiconv
- name: Build
shell: msys2 {0}
run: make -C contrib -j

build-contrib-ubuntu:
name: Contrib Ubuntu
runs-on: ubuntu-24.04
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Build
run: make -C contrib -j

build-contrib-macos:
name: Contrib macOS
runs-on: macos-14
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Build
run: make -C contrib -j

0 comments on commit 5cc2219

Please sign in to comment.