From da77a010675b8f80adac12bdb6c2b029b8dc55bb Mon Sep 17 00:00:00 2001 From: Llywelwyn <82828093+Llywelwyn@users.noreply.github.com> Date: Wed, 23 Aug 2023 23:14:41 +0100 Subject: [PATCH 1/2] build instructions --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 73aa83e..30b838e 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ #### using _rltk/bracket-lib_, and _specs_ +check out the page in the header for the wasm version, pick [a release of your choice](https://github.com/Llywelwyn/rust-rl/releases), or build manually with: + +`git clone https://github.com/Llywelwyn/rust-rl/ && cd rust-rl && cargo build --release`, + ![image](https://github.com/Llywelwyn/rust-rl/assets/82828093/b05e4f0b-2062-4abe-9fee-c679f9ef420d) this year for roguelikedev does the complete tutorial, i'm following along with thebracket's [_roguelike tutorial - in rust_](https://bfnightly.bracketproductions.com). for most of the 8 weeks, i'll probably just be working through the content rather than diverging too much into doing my own thing, since it's lengthy and i'd rather finish in time. that said, the ultimate aim here is to strip out the vast majority of the existing entities and replace them with my own, using the systems and components from the tutorial as a jumping-off point for something of my own making. From 2976c4ea06a8ea8976f19d63f07fd6b80cf74235 Mon Sep 17 00:00:00 2001 From: Llywelwyn <82828093+Llywelwyn@users.noreply.github.com> Date: Thu, 24 Aug 2023 00:30:00 +0100 Subject: [PATCH 2/2] cargo build/test wf --- .github/workflows/cargo-build-test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/cargo-build-test.yml diff --git a/.github/workflows/cargo-build-test.yml b/.github/workflows/cargo-build-test.yml new file mode 100644 index 0000000..d54fa2f --- /dev/null +++ b/.github/workflows/cargo-build-test.yml @@ -0,0 +1,22 @@ +name: Rust + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose