Skip to content

Commit

Permalink
Remove default build target
Browse files Browse the repository at this point in the history
  • Loading branch information
koarlchen committed Oct 4, 2024
1 parent 226a3eb commit 486953f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions .cargo/config.toml

This file was deleted.

6 changes: 1 addition & 5 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test
on:
pull_request:
push:
branches: [ "main" ]
branches: [ "main", "foo" ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -14,10 +14,6 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Prerequisites
run: |
sudo apt install -y musl-tools musl-dev
rustup target add x86_64-unknown-linux-musl
- name: Run build
run: cargo build
- name: Run tests
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ The template for the Space API JSON document is defined within the file `status.

Building the software requires a Rust toolchain to be installed.
If so, the build process is as easy as `cargo build [--release]`.
Currently, the build defaults to x64 with musl on Linux (see `.cargo/config.toml`).
You may override it by providing the necessary arguments to cargo.

Two minimalistic tests are provided to check wether the configuration and the template files can be parsed.
Run `cargo test` to execute the tests.

0 comments on commit 486953f

Please sign in to comment.