Skip to content

Commit

Permalink
add ci-file to test
Browse files Browse the repository at this point in the history
  • Loading branch information
epiccoolguy committed Mar 12, 2024
1 parent a34f0b5 commit fb72337
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI

on:
push:
branches:
- master

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

strategy:
matrix:
os:
- macos-latest
- macos-14

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Run RUNME.sh
run: ./RUNME.sh
8 changes: 5 additions & 3 deletions RUNME.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#! /bin/sh

export PATH="$(python3 -c 'import os,sysconfig;print(sysconfig.get_path("scripts",f"{os.name}_user"))'):$PATH"
PYTHON_PATH=$(python3 -c 'import os,sysconfig;print(sysconfig.get_path("scripts",f"{os.name}_user"))')
PATH="$PYTHON_PATH:$PATH"
export PATH

python3 -m pip install --upgrade --user pip
python3 -m pip install --user ansible-core
python3 -m pip install --quiet --upgrade --user pip
python3 -m pip install --quiet --user ansible-core

ansible-galaxy install -r requirements.yml
ansible-playbook playbook.yaml

0 comments on commit fb72337

Please sign in to comment.