Skip to content

Commit

Permalink
updated workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
0bvim committed Aug 30, 2024
1 parent ce9bddb commit 9461c9e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Feature CI

on:
push:
branches: [feature/*]
pull_request:
branches: [main, develop]

jobs:
feature-ci:
runs-on: ubuntu-latest

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

- name: Setup Clang 12
uses: actions/setup-tool@v3
with:
url: https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/clang+llvm-12.0.0-linux-x86_64.tar.xz
extract: 'clang+llvm-12.0.0-linux-x86_64'

- name: Configure Clang 12
run: |
export PATH=$PATH:$PWD/clang+llvm-12.0.0-linux-x86_64/bin
clang++ --version
- name: Compile Webserv
run: make

- name: Run Code
run: make run

0 comments on commit 9461c9e

Please sign in to comment.