Skip to content

Added --jobs to make command. #7

Added --jobs to make command.

Added --jobs to make command. #7

Workflow file for this run

name: Build
on: [ push, pull_request, workflow_dispatch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install tools
run: |
sudo apt-get install autopoint automake pkg-config texinfo
- name: Bootstrap
run: |
./bootstrap
- name: Configure
run: |
./configure
- name: Compile
run: |
cores=$(lscpu | awk '/^CPU\(s\)/ { print $2 }')
make --jobs $(( cores * 2 ))
- name: Upload
uses: actions/upload-artifact@v4
with:
name: make
path: make