diff options
author | Vadim Zeitlin <vz-swig@zeitlins.org> | 2021-09-30 17:27:40 +0200 |
---|---|---|
committer | Vadim Zeitlin <vz-swig@zeitlins.org> | 2021-09-30 17:27:40 +0200 |
commit | 0c46a3024954f6f4b84e6ed8619a993fd3d448f0 (patch) | |
tree | 494c1505b71de9ce220600ae94ae7814cd7a6660 /.github/workflows/ci.yml | |
parent | 1395b902bef2cfbdda03f01616e94503ba792b84 (diff) | |
download | swig-0c46a3024954f6f4b84e6ed8619a993fd3d448f0.tar.gz |
Use consistent names for the build steps
Follow the convention of the GitHub built-in steps, such as the first
"Set up job" one and use capitalized verbs in imperative mood rather
than a mix of non-capitalized verbs and nouns.
This is a purely cosmetic change.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9d4a8078..c4f379dfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,14 +55,17 @@ jobs: CPP17: ${{ matrix.CPP17 }} steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v2 with: submodules: recursive - - name: ccache + + - name: Install CCache uses: hendrikmuhs/ccache-action@v1 with: key: ${{ matrix.os || 'ubuntu-20.04' }}-${{ matrix.SWIGLANG }} - - name: configure + + - name: Configure run: | set -x export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" @@ -90,7 +93,7 @@ jobs: ((cpu_count++)) echo SWIGJOBS=-j$cpu_count >> $GITHUB_ENV - - name: build + - name: Build working-directory: build/build run: | set -x @@ -100,7 +103,8 @@ jobs: if test -z "$SWIGLANG"; then make -s $SWIGJOBS check-errors-test-suite; fi echo 'Installing...' if test -z "$SWIGLANG"; then sudo make -s install && swig -version && ccache-swig -V; fi - - name: tests + + - name: Test working-directory: build/build run: | set -x @@ -115,7 +119,7 @@ jobs: if test -n "$SWIGLANG"; then make $SWIGJOBS check-$SWIGLANG-examples CFLAGS="$cflags" CXXFLAGS="$cxxflags"; fi if test -n "$SWIGLANG"; then make $SWIGJOBS check-$SWIGLANG-test-suite CFLAGS="$cflags" CXXFLAGS="$cxxflags"; fi - - name: clean + - name: Clean working-directory: build/build run: | set -x |