Skip to content

daily

daily #104

Workflow file for this run

# Copyright (C) Viktor Szakats. See LICENSE.md
# SPDX-License-Identifier: MIT
---
# https://docs.github.com/actions/learn-github-actions
name: daily
on:
schedule:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '29 20 * * *'
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- name: 'build'
env:
CW_CONFIG: 'dev'
CW_LLVM_MINGW_DL: '1'
CW_LLVM_MINGW_ONLY: '0'
CW_MAP: '1'
CW_JOBS: '3'
DO_NOT_TRACK: '1'
run: |
. ./_versions.sh
export CW_REVISION="$(TZ=UTC date +'%Y%m%d')"
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
- name: 'list dependencies'
run: cat urls.txt
# https://github.com/actions/upload-artifact
- uses: actions/upload-artifact@v3
with:
name: 'binaries'
retention-days: 42
path: |
*-*-mingw*.*
urls.txt