Skip to content

Commit

Permalink
TODO: revert temp debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Feb 7, 2024
1 parent 6b5612d commit 5d541b3
Showing 1 changed file with 0 additions and 71 deletions.
71 changes: 0 additions & 71 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,6 @@ on:
- 'NOTICE.txt'
- 'README.md'
jobs:
conda:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: conda-build
uses: TomographicImaging/conda-package-publish-action@v2
with:
subDir: recipe
channels: -c conda-forge -c intel -c ccpi
convert_win: false
convert_osx: false
test_pyver: 3.9
test_npver: 1.22
- name: Upload artifact of the conda package
uses: actions/upload-artifact@v3
with:
name: cil-package
path: recipe/linux-64/cil*
docs:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -94,54 +74,3 @@ jobs:
branch: gh-pages
dir: docs/build/dirhtml
nojekyll: true
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha || github.ref }} # fix SHA
submodules: recursive
- uses: jlumbroso/[email protected]
with:
docker-images: false
large-packages: false
- uses: docker/setup-buildx-action@v3
- uses: docker/metadata-action@v5
id: meta
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
labels: |
org.opencontainers.image.licenses=Apache-2.0 AND BSD-3-Clause AND GPL-3.0
- uses: docker/login-action@v3
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
load: true
tags: tomographicimaging/cil:test
- name: test
run: >
docker run --rm -v .:/CIL tomographicimaging/cil:test /bin/bash -c
'python -m unittest discover -v /CIL/Wrappers/Python/test'
- uses: docker/build-push-action@v5
with:
cache-from: type=gha
cache-to: type=gha,mode=max
context: .
push: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags') }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 5d541b3

Please sign in to comment.