Skip to content

Commit

Permalink
test the docker file in a github action
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichard committed Oct 5, 2023
1 parent a157a5d commit 131c762
Showing 1 changed file with 8 additions and 28 deletions.
36 changes: 8 additions & 28 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,34 +51,14 @@ jobs:
- name: Test
run: cargo test


# check-azure:
# name: Check Azure
# runs-on: ubuntu-20.04
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Cache
# uses: actions/cache@v2
# with:
# path: |
# ~/.cargo/registry
# ~/.cargo/git
# target
# key: ${{ runner.os }}-cargo-${{ github.job }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
# - run: sudo apt-get update || exit 1
# - run: sudo apt-get install -y clang musl musl-tools || exit 1
# - run: sudo ln -s /usr/bin/g++ /usr/bin/musl-g++
# - name: Set default toolchain
# run: rustup default 1.63.0
# - name: Set profile
# run: rustup set profile minimal
# - name: Add target musl
# run: rustup target add x86_64-unknown-linux-musl
# - name: Update toolchain
# run: rustup update
# - name: Check
# run: cargo build --release --target=x86_64-unknown-linux-musl
build-docker:
name: build docker
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build the Docker image
run: docker build --file Dockerfile --tag bdk-reserves-web .

fmt:
name: Rust fmt
Expand Down

0 comments on commit 131c762

Please sign in to comment.