Skip to content

Commit

Permalink
unifying builds
Browse files Browse the repository at this point in the history
  • Loading branch information
milosz-barylowicz committed Feb 25, 2024
1 parent 2e3ed4a commit 0939869
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build_and_validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: linux-build-and-validation

on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]

env:
BUILD_DIR: ${{ github.workspace }}/build
TEST_DIR: ${{ github.workspace }}/build/tests

jobs:
python-venv-setup:
runs-on: [ 'ubuntu-22.04' ]

steps:
- uses: actions/checkout@v4.1.1

- name: python3-setting-up
run: |
sudo apt update && \
sudo apt install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:deadsnakes/ppa && \
sudo apt update && \
sudo apt install python3.11 python3.11-venv -y
- name: python3-venv
run: |
python3.11 -m venv venv && \
source venv/bin/activate
build-repository:
needs: [ 'python-venv-setup' ]
runs-on: [ 'ubuntu-22.04' ]

steps:

- name: look inside
run: ls && python3 --version

0 comments on commit 0939869

Please sign in to comment.