Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds basic cmake support. #2

Open
wants to merge 19 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/windows-intelLLVM.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: windows-intelLLVM

on:
pull_request:
branches:
- main
- dev

jobs:

builds-and-tests:
runs-on: windows-latest
strategy:
matrix:
optimization-type: ["Debug", "Release"]

steps:

- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Setup intel fortran
uses: fortran-lang/setup-fortran@v1
id: setup-fortran
with:
compiler: intel
version: '2024.0'

- name: Setup ninja
uses: seanmiddleditch/gha-setup-ninja@master

- name: CMake build
shell: bash
run: |
cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=${{matrix.optimization-type}} CC=icx
cmake --build build -j
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ Makefile.in
/ar-lib
/ngspice.pc

/src/frontend/parse-bison.*
/src/spicelib/parser/inpptree-parser.*
# /src/frontend/parse-bison.*k
# /src/spicelib/parser/inpptree-parser.*

/src/include/ngspice/config.h.in
# /src/include/ngspice/config.h
Expand Down Expand Up @@ -81,10 +81,10 @@ Makefile.in
**/*.vcxproj.user
.vscode/

src/frontend/parse-bison.c
src/frontend/parse-bison.h
src/spicelib/parser/inpptree-parser.c
src/spicelib/parser/inpptree-parser.h
# src/frontend/parse-bison.c
# src/frontend/parse-bison.h
# src/spicelib/parser/inpptree-parser.c
# src/spicelib/parser/inpptree-parser.h
# Visual Studio Code user options files
.vscode/

Expand Down
Loading
Loading