Skip to content

chore(test.yml): revise workflow to install from source #36

chore(test.yml): revise workflow to install from source

chore(test.yml): revise workflow to install from source #36

Workflow file for this run

# This workflow will do a clean install of the dependencies and run tests across different versions
#
# Replace <track> with the track name
# Replace <image-name> with an image to run the jobs on
# Replace <action to setup tooling> with a github action to setup tooling on the image
# Replace <install dependencies> with a cli command to install the dependencies
#
# Find Github Actions to setup tooling here:
# - https://github.com/actions/?q=setup&type=&language=
# - https://github.com/actions/starter-workflows/tree/main/ci
# - https://github.com/marketplace?type=actions&query=setup
#
# Requires scripts:
# - bin/test
name: harbour / Test
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- name: Install Harbour
run: |
sudo apt update && sudo apt -y install curl build-essentials
curl -sLk https://sourceforge.net/projects/harbour-project/files/source/3.0.0/harbour-3.0.0.tar.gz > harbour-3.0.0.tar.gz
tar -zxvf harbour-3.0.0.tar.gz && cd harbour-3.0.0 && make && sudo make install && ldconfig
- name: Verify all exercises
run: bin/verify-exercises