Update ci.yaml ubuntu version #6
This file contains hidden or 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: Aldor CI | |
| on: [push, pull_request] | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| 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.4.0+20241216_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.4.0+20241216_amd64.deb | |
| # build-macos: | |
| # runs-on: macos-10.15 | |
| # steps: | |
| # - uses: actions/checkout@v2 | |
| # - name: build | |
| # run: sh ./build-macos.sh |