CI: fix YAML typo

This commit is contained in:
Adriaan de Groot 2021-02-01 13:57:28 +01:00
parent bd6aa58322
commit c5729b861f

View File

@ -27,13 +27,13 @@ jobs:
image: docker://kdeneon/plasma:user image: docker://kdeneon/plasma:user
options: --tmpfs /build:rw --user 0:0 options: --tmpfs /build:rw --user 0:0
steps: steps:
- name: prepare env - name: "prepare env"
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get -y install git-core sudo apt-get -y install git-core
- name: checkout - name: "checkout"
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: install dependencies - name: "install dependencies"
run: | run: |
sudo apt-get -y install \ sudo apt-get -y install \
build-essential \ build-essential \
@ -63,15 +63,15 @@ jobs:
qtdeclarative5-dev \ qtdeclarative5-dev \
qttools5-dev \ qttools5-dev \
qttools5-dev-tools qttools5-dev-tools
- name: prepare build - name: "prepare build"
run: | run: |
test -n "$BUILDDIR" || { echo "! \$BUILDDIR not set" ; exit 1 ; } test -n "$BUILDDIR" || { echo "! \$BUILDDIR not set" ; exit 1 ; }
mkdir -p $BUILDDIR mkdir -p $BUILDDIR
test -f $SRCDIR/CMakeLists.txt || { echo "! Missing $SRCDIR/CMakeLists.txt" ; exit 1 ; } test -f $SRCDIR/CMakeLists.txt || { echo "! Missing $SRCDIR/CMakeLists.txt" ; exit 1 ; }
- name: Calamares: cmake - name: "Calamares: cmake"
working-directory: ${{ env.BUILDDIR }} working-directory: ${{ env.BUILDDIR }}
run: cmake $CMAKE_ARGS $SRCDIR run: cmake $CMAKE_ARGS $SRCDIR
- name: Dump steps context - name: "dump context"
env: env:
JOBS_CONTEXT: ${{ toJSON(job) }} JOBS_CONTEXT: ${{ toJSON(job) }}
STEPS_CONTEXT: ${{ toJSON(steps) }} STEPS_CONTEXT: ${{ toJSON(steps) }}
@ -80,7 +80,7 @@ jobs:
echo "$STEPS_CONTEXT" echo "$STEPS_CONTEXT"
echo "JOB" echo "JOB"
echo "$JOBS_CONTEXT" echo "$JOBS_CONTEXT"
- name: notify - name: "notify"
uses: rectalogic/notify-irc@v1 uses: rectalogic/notify-irc@v1
if: always() if: always()
with: with:
@ -92,10 +92,10 @@ jobs:
result ${{ steps.checkout.conclusion }} - ${{ steps.checkout.outcome }} - ${{ job.status }} RUN ${{ github.run_id }} ${{ github.job_id }} result ${{ steps.checkout.conclusion }} - ${{ steps.checkout.outcome }} - ${{ job.status }} RUN ${{ github.run_id }} ${{ github.job_id }}
# Unused while we figure out notifications. # Unused while we figure out notifications.
# - name: make # - name: "Calamares: make"
# working-directory: ${{ env.BUILDDIR }} # working-directory: ${{ env.BUILDDIR }}
# run: make -j2 VERBOSE=1 # run: make -j2 VERBOSE=1
# - name: install # - name: "Calamares: install"
# working-directory: ${{ env.BUILDDIR }} # working-directory: ${{ env.BUILDDIR }}
# run: | # run: |
# make install VERBOSE=1 # make install VERBOSE=1