Code created for the ADACS MAP AMoller_2023A project #29
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: docker | |
on: [pull_request] | |
jobs: | |
conda_env_linux: | |
name: Conda env (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
# - uses: conda-incubator/setup-miniconda@v2 | |
# with: | |
# activate-environment: snn_cpu | |
# environment-file: env/conda_env_cpu_linux64.yml | |
# auto-activate-base: false | |
# - run: | | |
# conda info | |
# conda list | |
# - run: | | |
# which python | |
# jobs: | |
# build: | |
# name: Build on ${{ matrix.os }} | |
# runs-on: ${{ matrix.os }} | |
# strategy: | |
# matrix: | |
# os: [ubuntu-latest] | |
# include: | |
# # - os: macos-latest | |
# # TARGET: x86_64-apple-darwin | |
# # COMPILER: clang | |
# # LINKER: clang | |
# - os: ubuntu-latest | |
# TARGET: x86_64-unknown-linux-musl | |
# COMPILER: gcc | |
# LINKER: gcc | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Docker login | |
# run: echo '${{ secrets.DOCKER }}' | docker login --username anaismoller --password-stdin | |
# - name: do fresh docker build | |
# run: | | |
# cd env && make cpu | |
# - name: Docker push | |
# run: docker push cpu |