Skip to content

Commit

Permalink
Merge pull request #5 from libanime/nyakokitsu-patch-2
Browse files Browse the repository at this point in the history
Create CI
  • Loading branch information
nyakokitsu authored Aug 24, 2024
2 parents b013226 + a0d791f commit 5ebfc7a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
branches:
- stable

jobs:
compile:
name: dart compile exe
strategy:
matrix:
include:
- runs-on: ubuntu-latest
binary-name: maco_linux_amd64
- runs-on: macos-latest
binary-name: maco_macos_amd64
- runs-on: windows-latest
binary-name: maco_windows.exe
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- run: mkdir ${{ matrix.runs-on }}
- run: dart compile exe bin/maco.dart -o ${{ matrix.runs-on }}/${{ matrix.binary-name }}
- uses: actions/upload-artifact@v2
with:
name: bin-${{ matrix.runs-on }}
path: ${{ matrix.runs-on }}

0 comments on commit 5ebfc7a

Please sign in to comment.