Skip to content

Commit

Permalink
Add prebuild workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Feb 14, 2024
1 parent 80f9c55 commit 64f4809
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Prebuild
on:
workflow_dispatch:
jobs:
prebuild:
strategy:
matrix:
node: [20]
os: [ubuntu-22.04, macos-12, macos-14, windows-2022]
include:
- os: ubuntu-22.04
name: linux-x64
- os: macos-12
name: darwin-x64
- os: macos-14
name: darwin-arm64
- os: windows-2022
name: win32-x64
runs-on: ${{ matrix.os }}
name: ${{ matrix.name }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install -g bare-dev
- run: bare-dev configure
- run: bare-dev build
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.name }}
path: |
build/bin/bare
build/bin/Release/bare.exe

0 comments on commit 64f4809

Please sign in to comment.