Compare commits

...

5 Commits

Author SHA1 Message Date
Alexei Lozovsky 25affc65a9 [debug] add missing file 2021-04-29 22:49:54 +09:00
Alexei Lozovsky ed700f61b8 [debug] add this thing that should fail 2021-04-29 22:49:01 +09:00
Alexei Lozovsky 529b6c1c09 [debug] disable release workflow for now 2021-04-29 22:48:20 +09:00
Alexei Lozovsky a7c03318e1 [debug] trigger build 2021-04-29 22:38:05 +09:00
Alexei Lozovsky 73375e968b Run tests on all Windows versions
Some time ago GitHub has introduced an alternative version of Windows
virtual environment. One of those is possibly untested in this repo.
Let's test both of them.

Audit tasks and side tracks are still using "windows-latest" because we
don't particularly care about them. However, main tests should be run
against both versions.

You can find currently supported environments here:
https://github.com/actions/virtual-environments/
2021-04-29 22:35:59 +09:00
3 changed files with 41 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
name: z5-build-env
channels:
- conda-forge
dependencies:
- cmake
- compilers
- bzip2
- lz4-c
- xz
- zlib
- boost-cpp>=1.63
- xtensor>=0.21,<0.22
- xtensor-python>=0.24,<0.25
- xsimd
- blosc
- imageio
- nlohmann_json
- zarr
- h5py
+18 -1
View File
@@ -6,16 +6,33 @@ on:
branches: branches:
- master - master
- release/* - release/*
- new-windows
schedule: schedule:
- cron: '0 6 * * *' - cron: '0 6 * * *'
jobs: jobs:
test: test:
name: default name: default
runs-on: windows-latest runs-on: ${{ matrix.windows }}
strategy:
matrix:
windows: [windows-2016, windows-2019]
steps: steps:
- name: Check out source code - name: Check out source code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: z5-build-env
auto-update-conda: true
channels: conda-forge
environment-file: .github/workflows/environment.yaml
python-version: 3.7
auto-activate-base: false
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: Download Internet - name: Download Internet
run: npm install run: npm install
- name: Enable Developer Command Prompt - name: Enable Developer Command Prompt
+4 -1
View File
@@ -10,7 +10,10 @@ on:
jobs: jobs:
test: test:
name: release name: release
runs-on: windows-latest runs-on: ${{ matrix.windows }}
strategy:
matrix:
windows: [windows-2016, windows-2019]
steps: steps:
- name: Setup Developer Command Prompt - name: Setup Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1 uses: ilammy/msvc-dev-cmd@v1