diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8296ca..9702207 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,25 +117,33 @@ jobs: build-package: if: startsWith(github.ref, 'refs/tags/') - needs: [compute-base-build-tag, fmt, clippy, tests] + needs: [fmt, clippy, tests] runs-on: ubuntu-latest container: - image: ghcr.io/${{ github.repository }}/base:${{ needs.compute-base-build-tag.outputs.image_tag }} + image: ubuntu:20.04 concurrency: group: ${{ github.workflow }}-${{ github.ref }}-build-package cancel-in-progress: true steps: + - name: Install Dependencies + run: | + export DEBIAN_FRONTEND=noninteractive + apt-get update + apt-get install -y tzdata curl build-essential pkg-config libssl-dev clang lld cmake unzip + ln -fs /usr/share/zoneinfo/UTC /etc/localtime + dpkg-reconfigure -f noninteractive tzdata - name: Checkout Repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - - name: Cache Cargo Target Directory - uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5 + - name: Rust install + uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1 + - name: Install Protoc + uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3 with: - path: target - key: build-base-${{ needs.compute-base-build-tag.outputs.image_tag }}-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - build-base-${{ needs.compute-base-build-tag.outputs.image_tag }}- - - name: Build release binary - run: cargo build --release + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Build + run: cargo build --all --release + env: + AWS_LC_SYS_CMAKE_BUILDER: 1 - name: Debian packaging env: PACKAGECLOUD_API_KEY: ${{ secrets.PACKAGECLOUD_API_KEY }} diff --git a/Cargo.lock b/Cargo.lock index 95d506e..c6cc7ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -397,7 +397,7 @@ checksum = "9b10589d1a5e400d61f9f38f12f884cfd080ff345de8f17efda36fe0e4a02aa8" [[package]] name = "custom-tracing" version = "0.1.0" -source = "git+https://github.com/helium/oracles.git?branch=main#e7e445e866cc3deccce1ebf46d2021458b7dc203" +source = "git+https://github.com/helium/oracles.git?branch=main#4be70f8ede27dda492dd55c2bc25361c6a42f3fb" dependencies = [ "anyhow", "bs58", @@ -2078,7 +2078,7 @@ checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" [[package]] name = "task-manager" version = "0.1.0" -source = "git+https://github.com/helium/oracles.git?branch=main#e7e445e866cc3deccce1ebf46d2021458b7dc203" +source = "git+https://github.com/helium/oracles.git?branch=main#4be70f8ede27dda492dd55c2bc25361c6a42f3fb" dependencies = [ "futures", "futures-util", @@ -2409,9 +2409,9 @@ dependencies = [ [[package]] name = "tracing-log" -version = "0.1.4" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" dependencies = [ "log", "once_cell", @@ -2420,9 +2420,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.16" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6176eae26dd70d0c919749377897b54a9276bd7061339665dd68777926b5a70" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" dependencies = [ "matchers", "nu-ansi-term", @@ -2602,7 +2602,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]]