chore: Fix dockerfile and e2e label mechanics (#20)

This commit is contained in:
Anatolios Laskaris 2023-04-11 14:20:58 +03:00 committed by GitHub
parent 2d6fd60b72
commit f0d4881845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

View File

@ -30,6 +30,9 @@ concurrency:
jobs:
build:
name: "sqlite"
if: >
github.event_name == 'push' ||
contains(github.event.pull_request.labels.*.name, 'e2e')
uses: ./.github/workflows/build.yml
with:
ref: ${{ github.ref }}

View File

@ -7,10 +7,9 @@ RUN apt update \
git \
make \
pkg-config \
libtinfo6 \
cargo
libtinfo6
RUN cargo install marine --version 0.12.7
RUN mkdir -p ~/.local/bin && curl -L https://github.com/fluencelabs/marine/releases/download/marine-v0.14.1/marine-linux-x86_64 -o ~/.local/bin/marine && chmod +x ~/.local/bin/marine
VOLUME /code
WORKDIR /code

View File

@ -1,4 +1,5 @@
export PATH="${PATH}:/root/.cargo/bin"
export PATH="${PATH}:/root/.cargo/bin:/root/.local/bin"
curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-15/wasi-sdk-15.0-linux.tar.gz | tar xz -C .
mv wasi-sdk-* wasi-sdk
rm -rf wasi-sdk
mv -f wasi-sdk-* wasi-sdk
make