Skip to content

Merge pull request #164 from gvanuxem/ci-upload #67

Merge pull request #164 from gvanuxem/ci-upload

Merge pull request #164 from gvanuxem/ci-upload #67

Workflow file for this run

name: Aldor CI
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-20.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: sudo apt-get install libgmp-dev debhelper fakeroot
- name: build
run: dpkg-buildpackage -b -us -uc
- name: Create artifact archives
run: |
cd debian && rm -rf aldor/DEBIAN && tar zcf aldor-linux-x86_64-${{ github.sha }}.tar.gz aldor/
mv aldor-linux-x86_64-${{ github.sha }}.tar.gz ../
mv ../../aldor_1.3.0+20190802_amd64.deb ../
- name: Upload Linux binaries
uses: actions/upload-artifact@v4
with:
name: aldor-linux-x86_64-binary
path: |
aldor-linux-x86_64-${{ github.sha }}.tar.gz
aldor_1.3.0+20190802_amd64.deb
# build-macos:
# runs-on: macos-10.15
# steps:
# - uses: actions/checkout@v2
# - name: build
# run: sh ./build-macos.sh