Build toolc-gcc12-deb10-x64 #60
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: build-toolc-gcc12-deb10-x64 | |
run-name: Build toolc-gcc12-deb10-x64 | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
job1: | |
if: contains(github.event.head_commit.message, 'build-toolc-gcc12-deb10-x64') == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set env | |
run: echo "CURR_DATE=$(date +'%Y%m%d')" >> "$GITHUB_ENV" | |
- name: Set env | |
run: echo "PICK_TAG=gcc12-deb10-x64" >> "$GITHUB_ENV" | |
- name: Set env | |
run: echo "OCIIMG_NAME=tg-focus-cicd-toolc" >> "$GITHUB_ENV" | |
- uses: actions/checkout@v3 | |
with: | |
ref: master | |
- name: Install Deps | |
run: sudo apt-get update && sudo apt-get install podman buildah -y | |
- run: df -h | |
- name: Build | |
run: bash toolc-${{ env.PICK_TAG }}.bash | |
- run: buildah ps | |
- run: df -h | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ env.OCIIMG_NAME }}-${{ env.PICK_TAG }}.tar | |
path: ${{ env.OCIIMG_NAME }}-${{ env.PICK_TAG }}.tar | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ env.OCIIMG_NAME }}-${{ env.PICK_TAG }}.json | |
path: ${{ env.OCIIMG_NAME }}-${{ env.PICK_TAG }}.json | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: CHECKSUMS | |
path: CHECKSUMS |