Skip to content

Commit

Permalink
[TMP]: Nuke irrelevant workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Dec 14, 2024
1 parent 45e5c5c commit 9a9f215
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 584 deletions.
59 changes: 0 additions & 59 deletions .cirrus.yml

This file was deleted.

151 changes: 0 additions & 151 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,129 +8,6 @@ concurrency:

jobs:

build-ubuntu:
strategy:
matrix:
configuration:
- [ 'dynamic', '' ]
- [ 'system', '--with-system-lua-sources' ]
- [ 'embedded', '--enable-embedded-resources' ]
- [ 'static', '--enable-embedded-resources --disable-shared --enable-static' ]
runs-on: ubuntu-22.04
name: Build Ubuntu ${{ matrix.configuration[0] }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache test fonts
uses: actions/cache@v4
with:
path: |
.fonts
.sources
key: fonts-${{ hashFiles('Makefile-fonts') }}
- name: Cache lua_modules
uses: actions/cache@v4
with:
path: |
lua_modules
key: luarocks-${{ hashFiles('Makefile-luarocks', 'sile.rockspec.in') }}
- name: Cache Rust
uses: Swatinem/rust-cache@v2
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install fonts-sil-gentiumplus ghostscript graphviz jq libarchive-tools libfontconfig1-dev libharfbuzz-dev libicu-dev libluajit-5.1-dev libpng-dev luajit lua-sec lua-socket lua-zlib-dev luarocks poppler-utils
- name: Setup ‘cargo’
uses: actions-rs/toolchain@v1
- name: Configure
run: |
./bootstrap.sh
./configure \
--enable-developer-mode \
--without-developer-tools \
--disable-font-variations \
--with-manual \
${{ matrix.configuration[1] }}
echo "VERSION=$(./build-aux/git-version-gen .tarball-version)" >> $GITHUB_ENV
echo "MAKEFLAGS=-j$(nproc) -Otarget" >> $GITHUB_ENV
echo "CARCH=$(uname -m)" >> $GITHUB_ENV
- name: Make
run: |
make
- name: Package
run: |
make dist
- name: Upload source dist artifact
if: matrix.configuration[0] == 'dynamic' && !startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v4
with:
name: sile-${{ env.VERSION }}
path: sile-${{ env.VERSION }}.zip
- name: Append architecture to static binary
if: matrix.configuration[0] == 'static'
run: |
cp sile sile-${{ env.CARCH }}
sha256sum sile-${{ env.CARCH }} | tee -a sile-${{ env.VERSION }}.sha256.txt
- name: Upload static binary artifact
if: matrix.configuration[0] == 'static' && !startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v4
with:
name: sile-${{ env.CARCH }}
path: sile-${{ env.CARCH }}
- name: Release
uses: softprops/action-gh-release@v2
if: matrix.configuration[0] == 'static' && github.repository == 'sile-typesetter/sile' && startsWith(github.ref, 'refs/tags/v')
with:
body_path: sile-${{ env.VERSION }}.md
files: |
sile-${{ env.VERSION }}.pdf
sile-${{ env.VERSION }}.zip
sile-${{ env.VERSION }}.tar.zst
sile-${{ env.CARCH }}
sile-${{ env.VERSION }}.sha256.txt
build-from-dist:
runs-on: ubuntu-22.04
name: Build from source tarball without automake
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache lua_modules
uses: actions/cache@v4
with:
path: |
lua_modules
key: luarocks-${{ hashFiles('Makefile-luarocks', 'sile.rockspec.in') }}
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install jq libarchive-tools libfontconfig1-dev libharfbuzz-dev libicu-dev libluajit-5.1-dev libpng-dev luajit lua-sec lua-socket lua-zlib-dev luarocks
- name: Configure
run: |
./bootstrap.sh
./configure \
FCMATCH=true \
PDFINFO=false \
--enable-developer-mode \
--without-developer-tools \
DOCKER=$(which docker) \
--disable-font-variations \
--with-system-lua-sources \
--without-manual
echo "VERSION=$(./build-aux/git-version-gen .tarball-version)" >> $GITHUB_ENV
echo "MAKEFLAGS=-j$(nproc) -Otarget" >> $GITHUB_ENV
- name: Package
run: |
make fake-manual
make distdir
- name: Build from dist tree
run: |
make docker-test-dist
build-macos:
name: Build macOS
runs-on: macos-latest
Expand Down Expand Up @@ -193,31 +70,3 @@ jobs:
- name: Make
run: |
make
build-nix:
runs-on: ubuntu-22.04
name: Build Nix
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache test fonts
uses: actions/cache@v4
with:
path: |
.fonts
.sources
key: fonts-${{ hashFiles('Makefile-fonts') }}
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v16
- name: Cache Nix dependencies
uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Setup developer environment
run: |
nix develop --command ./bootstrap.sh
nix develop --configure
nix develop --command make
- name: Run regression tests for which Ubuntu can't provide deps
run: |
nix develop --command make regressions TESTSRCS='tests/variations-axis.sil tests/feat-unicode-softhyphen.sil'
17 changes: 0 additions & 17 deletions .github/workflows/commitlint.yml

This file was deleted.

80 changes: 0 additions & 80 deletions .github/workflows/coverage.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/deploy.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/luacheck.yml

This file was deleted.

Loading

0 comments on commit 9a9f215

Please sign in to comment.