Skip to content

Commit

Permalink
rewrite sccache-dist to use AMQP
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Dec 21, 2024
1 parent e4d2de9 commit fdb874b
Show file tree
Hide file tree
Showing 33 changed files with 4,853 additions and 4,498 deletions.
1 change: 1 addition & 0 deletions .github/actions/artifact_failure/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ runs:
killall sccache-dist || true
# possible temp dirs for either linux or windows
cp "${TMP:-${TEMP:-${TMPDIR:-/tmp}}}"/sccache_*.txt . 2>/dev/null || true
mkdir -p target
tar --exclude='target' \
--exclude='docs' \
--exclude='bins' \
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,13 +342,8 @@ jobs:

test_freebsd:
name: test freebsd-14.1 rust stable
runs-on: ${{ matrix.job.os }}
runs-on: ubuntu-22.04
timeout-minutes: 70
strategy:
fail-fast: false
matrix:
job:
- { os: ubuntu-22.04 }
steps:
- uses: actions/checkout@v4
- name: Prepare, build and test
Expand All @@ -357,8 +352,8 @@ jobs:
mem: 8192
usesh: true
sync: rsync
copyback: false
prepare: pkg install -y ca_root_nss curl gmake gtar pot sudo
copyback: true
prepare: pkg install -y ca_root_nss curl gmake gtar pot sudo rabbitmq
run: |
#####################################################################################
### Prepare, build, and test
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/checkout@v4
Expand All @@ -28,7 +28,7 @@ jobs:
path: ./target/debug/sccache

redis-deprecated:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

services:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
${SCCACHE_PATH} --show-stats | grep -e "Cache hits\s*[1-9]"
redis:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

services:
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
${SCCACHE_PATH} --show-stats | grep -e "Cache hits\s*[1-9]"
s3_minio:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

# Setup minio server
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
${SCCACHE_PATH} --show-stats | grep -e "Cache hits\s*[1-9]"
azblob_azurite:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

# Setup azurite server
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
${SCCACHE_PATH} --show-stats | grep -e "Cache hits\s*[1-9]"
gha:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

env:
Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
${SCCACHE_PATH} --show-stats | grep -e "Cache hits\s*[1-9]"
memcached-deprecated:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

# Setup memcached server
Expand Down Expand Up @@ -344,7 +344,7 @@ jobs:
${SCCACHE_PATH} --show-stats | grep -e "Cache hits\s*[1-9]"
memcached:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

# Setup memcached server
Expand Down Expand Up @@ -399,7 +399,7 @@ jobs:
${SCCACHE_PATH} --show-stats | grep -e "Cache hits\s*[1-9]"
webdav:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

env:
Expand Down Expand Up @@ -455,7 +455,7 @@ jobs:
env:
TARGET: x86_64-pc-windows-msvc
SCCACHE_EXE: ${{ github.workspace }}\\target\\x86_64-pc-windows-msvc\\debug\\sccache.exe
SCCACHE_LOG: "trace"
SCCACHE_LOG: "debug"
SCCACHE_ERROR_LOG: "${{ github.workspace }}\\server_log.txt"

steps:
Expand Down Expand Up @@ -524,7 +524,7 @@ jobs:
run: cat "$SCCACHE_ERROR_LOG"

clang:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

env:
Expand Down Expand Up @@ -647,7 +647,7 @@ jobs:
${SCCACHE_PATH} --show-stats | grep -e "Cache hits\s*[1-9]"
gcc:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

env:
Expand Down Expand Up @@ -692,7 +692,7 @@ jobs:
${SCCACHE_PATH} --show-stats | grep -e "Cache hits\s*[1-9]"
autotools:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

env:
Expand Down Expand Up @@ -748,7 +748,7 @@ jobs:
${SCCACHE_PATH} --show-stats | grep -e "Cache hits\s*[1-9]"
cmake:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

env:
Expand Down Expand Up @@ -806,7 +806,7 @@ jobs:
${SCCACHE_PATH} --show-stats | grep -e "Cache hits\s*[1-9]"
rust-test-coverage:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

env:
Expand Down Expand Up @@ -847,7 +847,7 @@ jobs:
${SCCACHE_PATH} --show-stats | grep -e "Cache hits\s*[1-9]"
zstd-compression-level:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build

env:
Expand Down
Loading

0 comments on commit fdb874b

Please sign in to comment.