Skip to content

Save build log

Save build log #142

Workflow file for this run

name: Linux
on: [push, pull_request]
jobs:
alpine:
strategy:
matrix:
compiler: [clang, gcc]
runs-on: ubuntu-latest
container: alpine:latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
env:
CC: ${{ matrix.compiler }}
run: |
test/test_build.sh alpine
- uses: actions/upload-artifact@v4
if: always()
with:
name: log-file
path: *.log

Check failure on line 23 in .github/workflows/linux.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/linux.yaml

Invalid workflow file

You have an error in your yaml syntax on line 23
debian:
strategy:
matrix:
compiler: [clang, gcc]
runs-on: ubuntu-latest
container: debian:stable
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
env:
CC: ${{ matrix.compiler }}
run: |
test/test_build.sh debian
- uses: actions/upload-artifact@v4
if: always()
with:
name: log-file
path: *.log
fedora:
strategy:
matrix:
compiler: [clang, gcc]
runs-on: ubuntu-latest
container: fedora:latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
env:
CC: ${{ matrix.compiler }}
run: |
test/test_build.sh fedora
- uses: actions/upload-artifact@v4
if: always()
with:
name: log-file
path: *.log
opensuse:
strategy:
matrix:
compiler: [clang, gcc]
runs-on: ubuntu-latest
container: opensuse/leap:latest
steps:
- name: Install dependencies required by the checkout action
run: |
zypper --non-interactive refresh
zypper --non-interactive install gzip tar
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
env:
CC: ${{ matrix.compiler }}
run: |
test/test_build.sh opensuse
- uses: actions/upload-artifact@v4
if: always()
with:
name: log-file
path: *.log
ubuntu:
strategy:
matrix:
ubuntu_version: [ubuntu-20.04, ubuntu-22.04]
compiler: [clang, gcc]
runs-on: ${{ matrix.ubuntu_version }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
env:
CC: ${{ matrix.compiler }}
run: |
test/test_build.sh ubuntu
- uses: actions/upload-artifact@v4
if: always()
with:
name: log-file
path: *.log