fix setting timestamp of shared lib symlinks #135
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
# Copyright (C) Viktor Szakats. See LICENSE.md | |
# SPDX-License-Identifier: MIT | |
--- | |
# https://docs.github.com/actions/learn-github-actions | |
name: build | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
- test | |
permissions: {} | |
env: | |
CW_MAP: '1' | |
CW_JOBS: '3' | |
DO_NOT_TRACK: '1' | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 'build' | |
run: | | |
. ./_versions.sh | |
export CW_CONFIG='${{ github.ref_name }}-linux' | |
export CW_REVISION='${{ github.sha }}' | |
time docker pull "${DOCKER_IMAGE}" | |
docker images --digests | |
time docker run --volume "$(pwd):$(pwd)" --workdir "$(pwd)" \ | |
--env-file <(env | grep -a -E \ | |
'^(CW_|GITHUB_|DO_NOT_TRACK)') \ | |
"${DOCKER_IMAGE}" \ | |
sh -c ./_ci-linux-debian.sh | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: 'linux binaries' | |
retention-days: 5 | |
path: | | |
*-*-linux*.* | |
urls.txt | |
mac: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 'build' | |
run: | | |
export CW_CONFIG='${{ github.ref_name }}-mac' | |
export CW_REVISION='${{ github.sha }}' | |
sh -c ./_ci-mac-homebrew.sh | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: 'macos binaries' | |
retention-days: 5 | |
path: | | |
*-*-macos*.* | |
urls.txt |