Skip to content

Commit

Permalink
start building out github-actions (#55)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #55

Test Plan: https://github.com/shayne-fletcher/ocamlrep/actions/runs/7548585799

Reviewed By: dtolnay

Differential Revision: D52818349

Pulled By: shayne-fletcher

fbshipit-source-id: c77117139a410ff527476ca49295f27ecf161f22
  • Loading branch information
Shayne Fletcher authored and facebook-github-bot committed Jan 17, 2024
1 parent 33c5286 commit 455b3b3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/cargo-build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Cargo build and test
on:
push:
pull_request:
jobs:
linux-cargo-build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: sudo apt-get update && sudo apt-get install libssl-dev cmake clang lld opam zstd
- run: opam init --compiler=5.1.1 --disable-sandboxing -y
- run: eval $(opam env) && ./ocaml-setup.sh
- run: cargo build
- run: cargo test

0 comments on commit 455b3b3

Please sign in to comment.