From 97d446642cca1a7d48045f0c7d5963249b5bd5a7 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 20 Aug 2024 09:56:22 +0200 Subject: [PATCH] =?UTF-8?q?[CI]=20Run=20native=20windows=20CI=C2=A0on=20re?= =?UTF-8?q?lease/Nigthly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/releaseNigthly.yml | 55 ++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/.github/workflows/releaseNigthly.yml b/.github/workflows/releaseNigthly.yml index fedf5d6..0c52c0c 100644 --- a/.github/workflows/releaseNigthly.yml +++ b/.github/workflows/releaseNigthly.yml @@ -8,6 +8,61 @@ on: - cron: '0 1 * * *' jobs: + Windows: + strategy: + fail-fast: false + matrix: + config: + - native_mixed + - native_dyn + - native_static + runs-on: windows-latest + env: + OS_NAME: windows + COMPILE_CONFIG: ${{matrix.config}} + HOME: 'C:\\Users\\runneradmin' + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Setup python 3.8 + uses: actions/setup-python@v3 + with: + python-version: '3.8' + - name: Install packages + run: | + choco.exe install pkgconfiglite ninja + - name: Install python modules + shell: bash + run: | + pip3 install meson pytest requests distro paramiko + pip3 install --no-deps $GITHUB_WORKSPACE + - name: Setup MSVC compiler + uses: bus1/cabuild/action/msdevshell@v1 + with: + architecture: x64 + - name: secret + shell: bash + run: | + echo "${{secrets.ssh_key}}" > $SSH_KEY + env: + SSH_KEY: ${{ runner.temp }}/id_rsa + - name: Ensure base deps + run: | + python .github\\scripts\\ensure_base_deps.py + env: + SSH_KEY: ${{ runner.temp }}/id_rsa + - name: Build Release + run: | + python .github\\scripts\\build_release_nightly.py + env: + SSH_KEY: ${{ runner.temp }}/id_rsa + - name: Upload failure logs + if: failure() + run: | + python .github\\scripts\\upload_failure_logs.py + env: + SSH_KEY: ${{ runner.temp }}/id_rsa + Linux: strategy: fail-fast: false