Skip to content

linux build

linux build #15

Workflow file for this run

name: Build and release
on:
push:
# branches-ignore:
# - '**'
###############################################
jobs:
build_mac_arm64:
name: "MacOS 14 arm64 clang"
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Download deplibs
uses: ./build_scripts/download_deplibs
with:
basedir: ${{ github.workspace }}/target
- name: Build libcuemol2
uses: ./.github/actions/build_libcuemol2_posix
with:
basedir: ${{ github.workspace }}/target
- name: Build cuetty
uses: ./.github/actions/build_cuetty_posix
with:
basedir: ${{ github.workspace }}/target
- name: Check cuetty run
shell: bash
run: |
set -eux
BASEDIR=${{ github.workspace }}/target
ls -la $BASEDIR/cuemol2/bin/cuetty
$BASEDIR/cuemol2/bin/cuetty
# - name: Upload artifact
# env:
# ARTIFACT_NAME: cuemol2_${{ runner.os }}_${{ runner.arch }}.tar.bz2
# uses: actions/upload-artifact@v4
# with:
# name: cuemol2_macos_arm64
# path: ${{ env.ARTIFACT_NAME }}
build_linux_x64:
name: "Linux ubuntu 22.04 x64 gcc"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Download deplibs
uses: ./build_scripts/download_deplibs
with:
basedir: ${{ github.workspace }}/target
- name: Build libcuemol2
uses: ./.github/actions/build_libcuemol2_posix
with:
basedir: ${{ github.workspace }}/target
- name: Build cuetty
uses: ./.github/actions/build_cuetty_posix
with:
basedir: ${{ github.workspace }}/target
- name: Check cuetty run
shell: bash
run: |
set -eux
BASEDIR=${{ github.workspace }}/target
ls -la $BASEDIR/cuemol2/bin/cuetty
$BASEDIR/cuemol2/bin/cuetty