Skip to content

Commit

Permalink
Switch from ubuntu-18 to CentOS-7 build
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizhangNV committed Jun 27, 2024
1 parent 9ac69c5 commit f1c599b
Showing 1 changed file with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: CI Release Linux
name: CI Release Linux-CentOS-7

# on:
# push:
# # Sequence of patterns matched against refs/tags
# tags:
# - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
#
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Upload Asset - Linux
Expand All @@ -24,17 +29,14 @@ jobs:
# Build from the tag that triggered the build
ref: ${{github.ref_name}}

# build a docker image based on ubuntu 18.04
- name: build docker image
run: docker build -t ubuntu-18.04-gcc-9 ./.github/workflows/dockerfiles/ubuntu-18.04-x64

# build the binary in docker image
# build the binary in docker image
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: ubuntu-18.04-gcc-9
options: -v ${{ github.workspace }}:/home/app
options: -v ${{ github.workspace }}:/home/app -v /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt
run: |
source /opt/rh/devtoolset-9/enable
cd /home/app
git config --global --add safe.directory /home/app
PREMAKE=external/slang-binaries/premake/premake-5.0.0-alpha16/bin/linux-64/premake5
Expand Down

0 comments on commit f1c599b

Please sign in to comment.