Skip to content

Commit

Permalink
Setup actions
Browse files Browse the repository at this point in the history
  • Loading branch information
averyanalex committed Jul 1, 2024
1 parent e7fe1cb commit 12bfbd0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
push:
pull_request:

jobs:
build:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
include:
# - os: macos-latest
# target: x86_64-apple-darwin
# suffix: ""
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
suffix: ""
- os: windows-latest
target: x86_64-pc-windows-msvc
suffix: .exe
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: sudo apt-get install -y ocl-icd-opencl-dev
if: matrix.os == 'ubuntu-latest'
- run: cargo build --release --target ${{ matrix.target }}
- uses: actions/upload-artifact@v3
with:
name: yggdrasil-vanity-${{ matrix.target }}
path: ./target/release/yggdrasil-vanity${{ matrix.suffix }}

0 comments on commit 12bfbd0

Please sign in to comment.