diff --git a/.github/workflows/conda_build.yml b/.github/workflows/conda_build.yml index 41e18772..eb8a4f2e 100644 --- a/.github/workflows/conda_build.yml +++ b/.github/workflows/conda_build.yml @@ -99,75 +99,6 @@ jobs: shell: pixi exec --spec rattler-build -- bash -e {0} run: rattler-build upload anaconda --force /tmp/rattler-build/linux-64/*.conda - build_package_osx-64: - name: Build conda package for osx-64 - runs-on: macos-13 - strategy: - fail-fast: false - matrix: - variant: ["r43", "r44"] - env: - ANACONDA_API_KEY: ${{ secrets.ANACONDA_API_TOKEN }} - ANACONDA_OWNER: ${{ vars.ANACONDA_OWNER }} - - steps: - - name: Checkout pull request branch - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Get latest version - id: latest-version - if: ${{ github.event.inputs.version }} == "latest" - uses: pozetroninc/github-action-get-latest-release@v0.8.0 - with: - repository: ${{ github.repository }} - token: ${{ secrets.CI_TOKEN }} - - - name: Set version - id: set-version - run: | - if [[ ${{ github.event.inputs.version }} != "latest" ]]; then - version=${{ github.event.inputs.version }} - else - version=${{ steps.latest-version.outputs.release }} - fi - echo "version=${version}" >> "$GITHUB_OUTPUT" - - - name: Download release - uses: robinraju/release-downloader@v1 - with: - tag: ${{ steps.set-version.outputs.version }} - token: ${{ secrets.CI_TOKEN }} - out-file-path: /tmp/recipe - tarBall: true - - - name: Setup pixi - uses: prefix-dev/setup-pixi@v0.9.2 - with: - run-install: false - - - name: Create recipe from template - shell: pixi exec --spec sed --spec coreutils --spec wget -- bash -e {0} - run: | - cp .github/recipe/recipe.yaml /tmp/recipe/recipe.yaml - cp .github/recipe/variant_${{ matrix.variant}}.yaml /tmp/recipe/variants.yaml - repository=${{ github.repository }} - build=${{ github.event.inputs.build }} - version=${{ steps.set-version.outputs.version }} - sha256sum=$(sha256sum /tmp/recipe/${repository//*\//}-${version}.tar.gz | cut -d ' ' -f 1) - sed -i "s/VERSION_PLACEHOLDER/${version}/g" /tmp/recipe/recipe.yaml - sed -i "s/SHA256SUM_PLACEHOLDER/${sha256sum}/g" /tmp/recipe/recipe.yaml - sed -i "s/BUILD_PLACEHOLDER/${build}/g" /tmp/recipe/recipe.yaml - - - name: Build conda package - shell: pixi exec --spec rattler-build -- bash -e {0} - run: rattler-build build -c dnachun -c conda-forge -c bioconda --output-dir /tmp/rattler-build --recipe-dir /tmp/recipe - - - name: Upload package - shell: pixi exec --spec rattler-build -- bash -e {0} - run: rattler-build upload anaconda --force /tmp/rattler-build/osx-64/*.conda - build_package_osx-arm64: name: Build conda package for osx-arm64 runs-on: macos-14 diff --git a/DESCRIPTION b/DESCRIPTION index 3ece6a87..87e3c40b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -62,4 +62,4 @@ LinkingTo: RcppGSL NeedsCompilation: yes VignetteBuilder: knitr -RoxygenNote: 7.3.2 +RoxygenNote: 7.3.3