Skip to content

Commit

Permalink
Add GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
redsolver committed Nov 28, 2023
1 parent 0e2472f commit 383b981
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build on Push

on: [push]

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
include:
- os: ubuntu-latest
output-name: bridge_proxy_linux
- os: macOS-latest
output-name: bridge_proxy_mac
- os: windows-latest
output-name: bridge_proxy_windows.exe

steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1

- run: mkdir build
- run: dart pub get
- run: dart compile exe bin/atproto_bridge_proxy.dart -v -o build/${{ matrix.output-name }}
- uses: actions/upload-artifact@v1
with:
name: native-executables
path: build

0 comments on commit 383b981

Please sign in to comment.