From c6d1937c7f3db7e12f161cc95dc310340e6a1f50 Mon Sep 17 00:00:00 2001 From: Ben Reifler Date: Sun, 16 Jun 2024 08:51:22 -0600 Subject: [PATCH] TEMP --- .github/workflows/build.yml | 51 +++++++++++++++++++++++++------------ 1 file changed, 35 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe2c777..253caf4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: # msystem: MINGW64 # update: true # install: make mingw-w64-x86_64-gcc mingw-w64-x86_64-perl-win32-tieregistry - # - name: Build and Test + # - name: Install Dependencies # run: | # : # Fix Perl locale issue # export LC_ALL=en_US.utf8 @@ -29,22 +29,41 @@ jobs: # pacman -U --noconfirm $file # : # Install TeX Live packages # pacman -S --noconfirm mingw-w64-x86_64-texlive-luatex mingw-w64-x86_64-texlive-latex-extra mingw-w64-x86_64-texlive-fonts-extra - # : # Build and Test - # make -j - #macos: - # runs-on: macos-latest - # steps: - # - uses: actions/checkout@v4 - # - uses: melusina-org/setup-macports@v1 # - name: Build and Test - # run: | - # sudo port install texlive-luatex texlive-latex-extra texlive-fonts-extra - # make -j - linux: - runs-on: ubuntu-latest + # run: make -j + # - uses: actions/upload-artifact@v4 + # with: + # name: windows-build + # path: libpgfplotter.a + macos: + runs-on: macos-latest steps: - uses: actions/checkout@v4 - - name: Build and Test + - uses: melusina-org/setup-macports@v1 + - name: Install Dependencies run: | - sudo apt install texlive-luatex texlive-latex-extra texlive-fonts-extra texlive-xetex texlive-science ghostscript poppler-utils - make -j + curl -LO https://mirror.ctan.org/systems/mac/mactex/BasicTeX.pkg + sudo installer -pkg BasicTeX.pkg -target / + #export PATH=/Library/TeX/texbin:$PATH + tlmgr install standalone + tlmgr install newtx + tlmgr install pgfplots + sudo port install ghostscript poppler + - name: Build and Test + run: make -j + - uses: actions/upload-artifact@v4 + with: + name: macos-build + path: libpgfplotter.a + #linux: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - name: Install Dependencies + # run: sudo apt install texlive-luatex texlive-latex-extra texlive-fonts-extra texlive-xetex texlive-science ghostscript poppler-utils + # - name: Build and Test + # run: make -j + # - uses: actions/upload-artifact@v4 + # with: + # name: linux-build + # path: libpgfplotter.a