Rename: logs->alerts. Post only fatal errors. [ds only] [skip appveyor] #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux Headless build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
BUILD_TYPE: Release | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. | |
# You can convert this to a matrix build if you need cross-platform coverage. | |
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
fetch-depth: 0 | |
- name: Update packages | |
run: sudo apt-get update | |
- name: Install packages | |
run: sudo apt-get install --fix-missing cmake ninja-build | |
- name: Install OpenSSL3 | |
run: cmake/linux_actions/install_openssl3.sh | |
- name: Install LLVM | |
run: . cmake/linux_actions/install_llvm_headless.sh | |
- name: Install Libsodium | |
run: . cmake/linux_actions/install_libsodium.sh | |
- name: Generate CMake files | |
run: . cmake/linux_actions/generate_cmake_files_headless.sh | |
- name: Build | |
run: pushd build/current && ninja tests -k 0 && popd | |
- name: Build AppImage | |
run: cmake/appimage_builder.sh --headless | |
- name: Create release_notes.txt | |
run: cmake/generate_archives.sh Linux | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: LinuxHeadless-binaries | |
path: | | |
Hypersomnia-Headless.AppImage | |
hypersomnia/release_notes.txt |