Skip to content

Commit

Permalink
Replace the CI build on Buildkite with GitHub Actions.
Browse files Browse the repository at this point in the history
The GitHub Actions logs are public, just like this repository.

We don't need the Docker setup for GitHub Actions; `rustup` is enough.
  • Loading branch information
SamirTalwar committed Mar 11, 2024
1 parent 4cb500e commit 19052e9
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 52 deletions.
20 changes: 0 additions & 20 deletions .buildkite/pipeline.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: build

on:
push:

jobs:
cargo-build:
name: cargo build
runs-on: ubuntu-latest
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
RUSTFLAGS: "-D warnings" # fail on warnings
steps:
- uses: actions/checkout@v4

- name: install tools
run: |
rustup show
- uses: Swatinem/rust-cache@v2

- name: build
run: |
cargo build --release
26 changes: 0 additions & 26 deletions Dockerfile

This file was deleted.

6 changes: 0 additions & 6 deletions docker-compose.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "1.76.0"
profile = "default" # see https://rust-lang.github.io/rustup/concepts/profiles.html
components = ["rust-analyzer", "rust-src"] # see https://rust-lang.github.io/rustup/concepts/components.html

0 comments on commit 19052e9

Please sign in to comment.