Skip to content

Commit

Permalink
Replace circleCI with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrofale committed Jan 9, 2024
1 parent 642b850 commit 61e3918
Showing 1 changed file with 12 additions and 24 deletions.
36 changes: 12 additions & 24 deletions .circleci/config.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,19 @@
version: 2
name: build

on:
push:
pull_request:

jobs:
build:
docker:
- image: "ubuntu:20.04"
runs-on: ubuntu-latest
steps:
- run: apt-get -qq update; apt-get -y install git
- checkout
- run:
name: Installing SUDO
command: |
apt-get update
apt-get install -y sudo
rm -rf /var/lib/apt/lists/*
- run:
name: Installing software-properties-common
command: |
sudo apt-get update
export DEBIAN_FRONTEND=noninteractive
apt-get install -y tzdata
sudo apt-get -y install software-properties-common
- run:
name: Install Python
command: 'sudo -E add-apt-repository -y ppa:deadsnakes/ppa && apt-get update && sudo apt-get -y install build-essential python3'
- run:
name: Install Python utilities
command: 'sudo apt-get install -y python3-dev python3-pip && python3 -m pip install pip --upgrade'
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- run:
name: Installing GCC
command: 'apt-get update && apt-get install -y gcc g++'
Expand Down

0 comments on commit 61e3918

Please sign in to comment.