Skip to content

Commit

Permalink
init ci
Browse files Browse the repository at this point in the history
  • Loading branch information
caixiangyue committed Aug 21, 2023
1 parent e2ecbff commit f5fbc42
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: leetcode test

on:
push:
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: setup
run: |
sudo apt-get update
sudo apt-get install cmake g++ make
- name: test
run: |
mkdir build && cd build && cmake .. && make
./test

0 comments on commit f5fbc42

Please sign in to comment.