File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM quay.io/bioconda/bioconda-utils-build-env-cos7-aarch64
2+
3+ RUN yum -y update
4+ RUN yum -y install zlib-devel wget ncurses-devel ncurses-compat-libs make gcc gcc-c++
5+
6+ # Install GHC since stack's local install has issues
7+ RUN wget https://downloads.haskell.org/~ghc/9.6.6/ghc-9.6.6-x86_64-centos7-linux.tar.xz
8+ RUN tar xvf ghc-9.6.6-x86_64-centos7-linux.tar.xz
9+ RUN cd ghc-9.6.6-x86_64-unknown-linux; ./configure; make install
10+
11+ # install stack
12+ RUN curl -sSL https://get.haskellstack.org/ | sh
13+
14+ # add source directory
15+ ADD . source
16+ WORKDIR source
17+
18+ # install
19+ # - as described in cryptonite README, cryptoniate requires disabling "use_target_attributes"
20+ # - for bitvec the "simd" flag added in v1.1.5.0 has to be deactivated - the gcc version here does not seem to support it
21+ RUN stack install --system-ghc --flag cryptonite:-use_target_attributes --flag bitvec:-simd
Original file line number Diff line number Diff line change @@ -108,4 +108,32 @@ jobs:
108108 allowUpdates : true
109109 artifactErrorsFailBuild : true
110110 artifacts : pileupCaller-conda-linux
111+ artifactContentType : application/octet-stream
112+
113+ build_centos_artifact_aarch64 :
114+ needs : [create_release]
115+ runs-on : ubuntu-latest
116+
117+ steps :
118+ - name : Checkout repo
119+ uses : actions/checkout@v4
120+
121+ - name : Build Docker image
122+ run : docker build -t linux -f .github/workflows/Dockerfile.centos_aarch64 .
123+
124+ - name : Create container
125+ run : docker create --name linuxcontainer_aarch64 linux
126+
127+ - name : Copy executable
128+ run : docker cp linuxcontainer_aarch64:/root/.local/bin/pileupCaller pileupCaller-conda-linux-aarch64
129+
130+ - name : Upload Release Asset
131+ id : upload-release-asset
132+ uses : ncipollo/release-action@v1
133+ with :
134+ name : Release ${{ github.ref_name }}
135+ draft : true
136+ allowUpdates : true
137+ artifactErrorsFailBuild : true
138+ artifacts : pileupCaller-conda-linux-aarch64
111139 artifactContentType : application/octet-stream
You can’t perform that action at this time.
0 commit comments