- Remove duplicate `source $HOME/.cargo/env && make` step that was redundant with later build commands - Move cargo environment sourcing to `build_risspam` step where it is actually needed for compilation - Keep `make build` and `make run` steps without explicit cargo env to rely on default PATH setup
23 lines
681 B
YAML
23 lines
681 B
YAML
name: isspam build
|
|
run-name: isspam build and memory check
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: apt update
|
|
- run: apt install build-essential valgrind make curl -y
|
|
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain nightly -y
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: List files in the repository
|
|
run: |
|
|
ls ${{ gitea.workspace }}
|
|
- run: make build
|
|
- run: make run
|
|
- run: source $HOME/.cargo/env && make build_risspam
|
|
- run: make run_risspam
|
|
- run: make benchmark
|
|
- run: make publish
|