Skip to content

Commit

Permalink
Fix.build.actions (#13)
Browse files Browse the repository at this point in the history
* use macos-latest for building

* temporary exclude altlinux

* update fedora required packages in the workflow file

* temporary enable only altlinux, others - excluded

* replace alt:sisyphus with alt:latest

* replace alt:latest with alt:p11

* temporary exlude altlinux (again)

* replace actions/checkout@v3 with actions/checkout@v4
and try alt:sisyphus

* export LD_LIBRARY_PATH=/usr/lib64:${LD_LIBRARY_PATH}
for altlinux

* try use - actions/setup-node@v4 for altlinux

* fix file syntax

* disable altlinux build

* update action upload-artifact to v4
  • Loading branch information
bas524 authored Sep 4, 2024
1 parent 1a0210c commit 3e9cc26
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/action-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
#
matrix:
container:
- ubuntu:latest
- debian:latest
- fedora:latest
- alt:sisyphus
- ubuntu:latest
- debian:latest
- fedora:latest
# - alt:sisyphus

container:
image: ${{ matrix.container }}
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Get commit sha
id: git_sha
run: echo "git_sha=$(echo $GITHUB_SHA)" >> $GITHUB_OUTPUT
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# install dependencies
- name: devel-pkgs
run: |
Expand All @@ -34,7 +34,7 @@ jobs:
apt-get update -y && apt-get install -yq binutils git make cmake catch2 gcc g++ lsb-release
;;
fedora*)
yum update -y && yum install -yq binutils git make cmake catch2-devel rpm-build redhat-lsb
yum update -y && yum install -yq binutils git make cmake catch2-devel gcc gcc-c++ rpm-build redhat-lsb
;;
alt*)
apt-get update -y && apt-get install -yq binutils git make cmake ctest catch2-devel gcc gcc-c++ rpm-build lsb-release
Expand Down Expand Up @@ -72,15 +72,15 @@ jobs:
find: ':' # we want to remove : from container name
replace: '-' # and replace it with -
- name: Upload BTree binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ format('BTree-{0}.{1}', steps.get-version.outputs.prj_ver, steps.container.outputs.value) }}
path: cmake-build-release/${{ format('BTree-{0}-noarch.???', steps.get-version.outputs.prj_ver) }}

avx512f-gcc-cmake:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: sudo apt-get update -y && sudo apt-get install -yq binutils git make cmake catch2 gcc g++ lsb-release
- name: mkdir
run: mkdir cmake-build-release
Expand All @@ -94,9 +94,9 @@ jobs:
run: cp cmake-build-release/fc_tests ${SDE_PATH} && cd ${SDE_PATH} && ./sde64 -knl -- ./fc_tests --benchmark-samples=1

macos-clang-cmake:
runs-on: macos-13
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: brew install git ninja cmake catch2
- name: mkdir
run: mkdir cmake-build-release
Expand Down

0 comments on commit 3e9cc26

Please sign in to comment.