Skip to content

Commit

Permalink
chore: build on Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
steinerkelvin committed Dec 24, 2024
1 parent 0bb41e7 commit 97d62a7
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Building

on:
workflow_dispatch:
push:
branches: [github-ci-test]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-22.04-32core-karl

steps:
- uses: actions/checkout@v4

- name: Setup Rust cache
uses: Swatinem/rust-cache@v2

- name: Install Rust toolchain
run: |
rustup set profile minimal
rustup show
rustc --version
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: 3.20.1
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run build
env:
SKIP_WASM_BUILD: 1
run: cargo build
1 change: 0 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Linting

on:
push:
branches: [main]
pull_request:
branches: [main]

Expand Down

0 comments on commit 97d62a7

Please sign in to comment.