Skip to content

Commit

Permalink
Merge pull request #1905 from Smit-create/ci_warn1
Browse files Browse the repository at this point in the history
Fix GH Action warnings
  • Loading branch information
certik authored Jun 14, 2023
2 parents 5a97ed0 + a0a583e commit c32fe9c
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,20 +117,19 @@ jobs:
name: Build LPython to WASM
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: mamba-org/provision-with-micromamba@main
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/environment.yml
extra-specs: |
create-args: >-
python=3.10
bison=3.4
- uses: hendrikmuhs/ccache-action@main
with:
variant: sccache
key: ${{ github.job }}-${{ matrix.os }}

- name : Remove existing node
Expand Down Expand Up @@ -193,15 +192,14 @@ jobs:
with:
fetch-depth: 0

- uses: mamba-org/provision-with-micromamba@v15
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/environment.yml
extra-specs: |
create-args: >-
bison=3.4
- uses: hendrikmuhs/ccache-action@main
with:
variant: sccache
key: ${{ github.job }}-${{ matrix.os }}

- name: Setup Platform (Linux)
Expand All @@ -211,6 +209,8 @@ jobs:
echo "WIN=0" >> $GITHUB_ENV
echo "MACOS=0" >> $GITHUB_ENV
echo "ENABLE_RUNTIME_STACKTRACE=yes" >> $GITHUB_ENV
echo "CMAKE_C_COMPILER_LAUNCHER=ccache" >> $GITHUB_ENV
echo "CMAKE_CXX_COMPILER_LAUNCHER=ccache" >> $GITHUB_ENV
- name: Build Linux
shell: bash -l {0}
Expand Down Expand Up @@ -254,16 +254,15 @@ jobs:
with:
fetch-depth: 0

- uses: mamba-org/provision-with-micromamba@v16
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/environment.yml
extra-specs: |
create-args: >-
python=3.10
bison=3.4
- uses: hendrikmuhs/ccache-action@main
with:
variant: sccache
key: ${{ github.job }}-${{ matrix.os }}

- name: Build Linux
Expand All @@ -278,8 +277,8 @@ jobs:
-DWITH_RUNTIME_STACKTRACE=yes \
-DCMAKE_PREFIX_PATH="$CONDA_PREFIX" \
-DCMAKE_INSTALL_PREFIX=`pwd`/inst \
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
cmake --build . -j16 --target install
Expand Down

0 comments on commit c32fe9c

Please sign in to comment.