Skip to content

Commit

Permalink
Merge pull request #2 from lefessan/z-2024-01-13-simple-github-workflow
Browse files Browse the repository at this point in the history
Add simple Github workflow
  • Loading branch information
lefessan committed Jan 13, 2024
2 parents e403722 + f28585b commit 0449c2e
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Ubuntu Workflow

on:
pull_request:
branches: [ master-with-README ]
push:
# manual run in actions tab - for all branches
workflow_dispatch:

jobs:
build:
name: Build, test and provide nightly
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
include:
- os: ubuntu-latest
skip_test: true

runs-on: ${{ matrix.os }}

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout code
uses: actions/checkout@v3

- name: Install packages
run: |
sudo apt-get update
sudo apt-get install automake libtool libdb5.3-dev libxml2-dev libcjson-dev bison flex help2man gettext texlive
- name: Set git user
run: |
git config --global user.name github-actions
git config --global user.email [email protected]
- name: bootstrap
run: |
make pdf
- name: Upload some pdfs
uses: actions/[email protected]
with:
name: gnucobol-docs PDF distribution
path: guide/PDFs/*.pdf
if-no-files-found: error
retention-days: 0

0 comments on commit 0449c2e

Please sign in to comment.