Skip to content

Commit

Permalink
Give up on 'cargo install', it seems to ignore the cache
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed Sep 3, 2023
1 parent 3699f1e commit 90e8d05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -441,18 +441,14 @@ jobs:
run: |
cd $GITHUB_WORKSPACE/sable/
cargo build
cargo install --debug --path auth_client
cargo install --debug --path client_listener
cargo install --debug --path sable_ircd
cargo install --debug --path sable_services
- name: Install system dependencies
run: sudo apt-get install atheme-services faketime
- name: Install irctest dependencies
run: |-
python -m pip install --upgrade pip
pip install pytest pytest-xdist -r requirements.txt
- name: Test with pytest
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:$PATH
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/sable/target/debug//sbin:~/sable/target/debug//bin:$PATH
make sable
timeout-minutes: 30
- if: always()
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/test-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -482,18 +482,14 @@ jobs:
run: |
cd $GITHUB_WORKSPACE/sable/
cargo build
cargo install --debug --path auth_client
cargo install --debug --path client_listener
cargo install --debug --path sable_ircd
cargo install --debug --path sable_services
- name: Install system dependencies
run: sudo apt-get install atheme-services faketime
- name: Install irctest dependencies
run: |-
python -m pip install --upgrade pip
pip install pytest pytest-xdist -r requirements.txt
- name: Test with pytest
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local//sbin:~/.local//bin:$PATH
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/sable/target/debug//sbin:~/sable/target/debug//bin:$PATH
make sable
timeout-minutes: 30
- if: always()
Expand Down
6 changes: 1 addition & 5 deletions workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ software:
devel: master
devel_release: null
path: sable
prefix: ~/.local/
prefix: ~/sable/target/debug/
pre_deps:
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -274,10 +274,6 @@ software:
build_script: |
cd $GITHUB_WORKSPACE/sable/
cargo build
cargo install --debug --path auth_client
cargo install --debug --path client_listener
cargo install --debug --path sable_ircd
cargo install --debug --path sable_services
snircd:
name: snircd
Expand Down

0 comments on commit 90e8d05

Please sign in to comment.