Skip to content

Commit

Permalink
Added build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
frantufro committed Sep 11, 2024
1 parent 9225429 commit 0ae5f9f
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
on:
pull_request:
push:
branches:
- version-0.2
- wasm

name: Build

permissions:
contents: write

jobs:
build:
name: Release Build
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libgtk-3-dev libjavascriptcoregtk-4.0-dev libsoup2.4-dev libjavascriptcoregtk-4.0-dev libgdk3.0-cil-dev libgdk-pixbuf-2.0-dev libpango1.0-dev libwebkit2gtk-4.0-dev
if: runner.os == 'linux'
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Build
run: cargo build --release
- uses: actions/upload-artifact@v4
with:
name: cuentitos-${{ matrix.runs-on }}
path: target/release/cuentitos

0 comments on commit 0ae5f9f

Please sign in to comment.