Skip to content

Commit

Permalink
Actions debug
Browse files Browse the repository at this point in the history
  • Loading branch information
OzzyCzech committed Jun 15, 2023
1 parent b5c30d4 commit f400fa5
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 51 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build Minicrawler

on:
- workflow_dispatch

jobs:

build:
env:
ENVNAME: dev
runs-on: ubuntu-latest
steps:
- uses: ./.github/workflows/prepare.yml
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure --prefix=$PREFIX --with-ca-bundle=/var/lib/certs/ca-bundle.crt --with-ca-path=/etc/ssl/certs
- name: make
run: make
51 changes: 0 additions & 51 deletions .github/workflows/c.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build and Test Minicrawler

on:
- workflow_dispatch
- pull_request
- push

jobs:

tests:
runs-on: ubuntu-latest
steps:
- uses: ./.github/workflows/build.yml
- name: make check
run: make check

try:
runs-on: ubuntu-latest
steps:
- uses: ./.github/workflows/build.yml
- name: try run minicrawler
run: ./minicrawler5
19 changes: 19 additions & 0 deletions .github/workflows/prepare.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Install Minicrawler dependencies

on:
- workflow_dispatch

jobs:

dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt update -y
sudo apt install -y make autoconf automake autotools-dev libtool gcc
- name: Install libraries
run: |
sudo apt update -y
sudo apt install -y libc-ares-dev zlib1g-dev libicu-dev libssl-dev libnghttp2-dev

0 comments on commit f400fa5

Please sign in to comment.