-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 60fddf9
Showing
22 changed files
with
4,154 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Build | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
CARGO_INCREMENTAL: 0 | ||
CARGO_NET_RETRY: 10 | ||
CARGO_NET_GIT_FETCH_WITH_CLI: true | ||
CI: 1 | ||
RUST_BACKTRACE: short | ||
RUSTFLAGS: "-D warnings -W rust-2021-compatibility" | ||
RUSTUP_MAX_RETRIES: 10 | ||
|
||
on: | ||
pull_request: | ||
branches: [ "master" ] | ||
push: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
name: "Build Nockapp" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: zorp-corp/rust-cache@v2 | ||
with: | ||
workspaces: ". -> target" | ||
# Test building and running are split for caching and build time tracking purposes | ||
# XX need to fix all the tests | ||
#- name: Build tests | ||
# run: cargo test --no-run | ||
#- name: Run tests | ||
# run: cargo test | ||
- name: Build | ||
run: cargo build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Compilation artifacts | ||
target | ||
bin/ | ||
|
||
# Dev config | ||
.vscode/settings.json | ||
|
||
# Junk | ||
.DS_Store | ||
*.swp | ||
**/*.swp | ||
.DS_Store | ||
._.DS_Store | ||
**/.DS_store | ||
**/._.DS_store |
Oops, something went wrong.