Skip to content

Commit

Permalink
chore(deps): bump actions/checkout from 4.1.1 to 4.1.3 in /.github/wo…
Browse files Browse the repository at this point in the history
…rkflows in the gha group (#1)
  • Loading branch information
dependabot[bot] authored Apr 21, 2024
1 parent 8bec92c commit 5d04fdb
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 49 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,11 @@ updates:
gha:
patterns:
- "*"
- package-ecosystem: "pip"
directory: "."
schedule:
interval: "daily"
groups:
pip:
patterns:
- "*"
34 changes: 0 additions & 34 deletions .github/workflows/e2e.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/surf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: debug

on:
pull_request:
branches:
- main

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
e2e:
strategy:
matrix:
os:
- ubuntu-22.04
# - windows-latest
# - macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/[email protected]
with:
submodules: true
fetch-depth: 0
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.10'
- name: Install Pip dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Compile and test
run: |
make debug
make test
30 changes: 15 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,32 @@

.PHONY: clean help target test

TARGET_DIR := $(shell pwd)
TARGET_EXE := ./out/surf
TARGET_DIR := $(shell pwd)
TARGET_EXE := ./out/surf

GN_DIR := third_party/gn
GN_EXE := $(TARGET_DIR)/$(GN_DIR)/out/gn
GN_DIR := third_party/gn
GN_EXE := $(TARGET_DIR)/$(GN_DIR)/out/gn

NINJA_DIR := third_party/ninja
NINJA_EXE := $(TARGET_DIR)/$(NINJA_DIR)/ninja
NINJA_DIR := third_party/ninja
NINJA_EXE := $(TARGET_DIR)/$(NINJA_DIR)/ninja

debug: $(TARGET_EXE) ## Compile debug build
debug: $(TARGET_EXE) ## Compile debug build

clean: ## Remove built artifacts
clean: ## Remove built artifacts
rm -rf ./out

lint:
clang-format -i **/*.cc **/*.h
clang-format -i **/*.cc **/*.h

test: $(TARGET_EXE) ## Run E2E tests
python -m pytest ./tests/*
test: $(TARGET_EXE) ## Run tests
python -m pytest ./tests/*

$(TARGET_EXE): $(GN_EXE)
$(TARGET_EXE): $(GN_EXE)
$(GN_EXE) gen out
$(NINJA_EXE) -C out

$(GN_EXE): $(NINJA_EXE)
cd $(GN_DIR) && python build/gen.py && $(NINJA_EXE) -C out
$(GN_EXE): $(NINJA_EXE)
cd $(GN_DIR) && python build/gen.py && $(NINJA_EXE) -C out

$(NINJA_EXE):
cd $(NINJA_DIR) && ./configure.py --bootstrap
cd $(NINJA_DIR) && ./configure.py --bootstrap
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

A browser with the goal of inversion of control.

## Components

- Chrome
- Render
- Service
- Utility

## Dependencies

C
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pytest == 8.1.1

0 comments on commit 5d04fdb

Please sign in to comment.