Binaries Linux32 (Ubuntu) #2
This file contains 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: Binaries Linux (Ubuntu) | |
on: | |
workflow_dispatch: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
name: Build on ${{ matrix.distro }} ${{ matrix.arch }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Compile nroff tools | |
run: | | |
make | |
working-directory: ./nroff | |
- name: Compile mec | |
run: | | |
./build.sh -t c | |
working-directory: ./microemacs/src | |
- name: Generate docs | |
run: | | |
export PATH=`pwd`/microemacs/src/.linux32gcc-release-mec:`pwd`/nroff/bin/linux:$PATH | |
cd ./microemacs/doc | |
make me.ehf | |
- name: Create packages | |
run: | | |
mkdir binaries-linux32 | |
cd ./microemacs/src | |
cp ./.linux32gcc-release-mec/mec ../../binaries-linux32/ | |
cp ./.linux32gcc-release-mew/mew ../../binaries-linux32/ | |
cd ../../binaries-linux32/ | |
zip linux32-bin mec mew | |
rm mec mew | |
cd ../microemacs/doc | |
cp me.ehf ../../binaries-linux32/ | |
- name: Create mesc | |
run: | | |
../src/.linux32gcc-release-mec/mec -p "@mesgen" -f -p ../src/.linux32gcc-release-mec/mec -t ../3rdparty/tfs/.linux32gcc-release/tfs -o ../../binaries-linux32/mesc-linux32 | |
working-directory: ./microemacs/mesingle | |
- name: Create mesw | |
run: | | |
../src/.linux32gcc-release-mec/mec -p "@mesgen" -f -p ../src/.linux32gcc-release-mew/mew -t ../3rdparty/tfs/.linux32gcc-release/tfs -o ../../binaries-linux32/mesw-linux32 | |
working-directory: ./microemacs/mesingle | |
- name: Upload Artifact GitHub Action Linux64 | |
uses: actions/upload-artifact@v3 | |
with: | |
name: binaries-linux32 | |
path: binaries-linux32 | |