Skip to content

Commit 0d94b6c

Browse files
Initial commit
0 parents  commit 0d94b6c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1798
-0
lines changed

.github/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
builddir
2+
.DS_Store
3+
subprojects/**
4+
.vscode/**
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior.
15+
16+
**Expected behavior**
17+
A clear and concise description of what you expected to happen.
18+
19+
**Desktop (please complete the following information):**
20+
- Host OS : `???`
21+
- SKD Version: `???`
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Fossil XSDK Pull Request
2+
3+
## Description
4+
<!-- Briefly describe the purpose and scope of this pull request. -->
5+
6+
## Testing
7+
<!-- Describe the testing process or steps taken to ensure the changes work as expected. -->
8+
9+
## Checklist
10+
- [ ] Code follows the project's coding standards.
11+
- [ ] Tests have been added or updated to cover the changes.
12+
- [ ] Documentation has been updated to reflect the changes.
13+
- [ ] The code has been reviewed by team members.
14+
- [ ] All checks and tests pass.
15+
- [ ] The license header and notices are updated where necessary.
16+
17+
## License
18+
This project is licensed under the Mozilla Public License - see the [LICENSE](LICENSE) file for details.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Fossil App Pull Request
2+
3+
## Description
4+
<!-- Briefly describe the purpose and scope of this pull request. -->
5+
6+
## Testing
7+
<!-- Describe the testing process or steps taken to ensure the changes work as expected. -->
8+
9+
## Checklist
10+
- [ ] Code follows the project's coding standards.
11+
- [ ] Tests have been added or updated to cover the changes.
12+
- [ ] Documentation has been updated to reflect the changes.
13+
- [ ] The code has been reviewed by team members.
14+
- [ ] All checks and tests pass.
15+
- [ ] The license header and notices are updated where necessary.
16+
17+
## License
18+
This project is licensed under the Mozilla Public License - see the [LICENSE](LICENSE) file for details.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Use a specific Arch Linux base image
2+
FROM archlinux:latest
3+
4+
# Set environment variables to avoid interaction
5+
ENV TZ=UTC
6+
7+
# Update and install system dependencies
8+
RUN pacman -Syu --noconfirm && \
9+
pacman -S --noconfirm \
10+
gcc \
11+
clang \
12+
gdb \
13+
llvm \
14+
wget \
15+
python \
16+
python-pip \
17+
git \
18+
meson \
19+
ninja && \
20+
pacman -Scc --noconfirm
21+
22+
# Set environment variables
23+
ENV CC=/usr/bin/clang
24+
ENV CXX=/usr/bin/clang++
25+
ENV LD_LIBRARY_PATH=/usr/local/lib
26+
27+
# Set working directory
28+
WORKDIR /workspace
29+
30+
# Default command
31+
CMD ["bash"]

.github/ciimage/Dockerfile.debian

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Use a specific Debian Bookworm base image
2+
FROM debian:bookworm
3+
4+
# Set environment variables to avoid interaction
5+
ENV DEBIAN_FRONTEND=noninteractive \
6+
TZ=UTC
7+
8+
# Install system dependencies and clean up
9+
RUN apt-get update && \
10+
apt-get install -y --no-install-recommends \
11+
build-essential \
12+
clang \
13+
gcc \
14+
g++ \
15+
gdb \
16+
llvm \
17+
libstdc++-12-dev \
18+
wget \
19+
python3 \
20+
python3-full \
21+
python3-pip \
22+
git \
23+
ca-certificates && \
24+
apt-get clean && \
25+
rm -rf /var/lib/apt/lists/*
26+
27+
# Install Meson and Ninja using pip
28+
RUN python3 -m pip install --no-cache-dir meson==1.3.0 ninja==1.10.2 --break-system-packages
29+
30+
# Set environment variables
31+
ENV CC=clang \
32+
CXX=clang++ \
33+
LD_LIBRARY_PATH=/usr/local/lib
34+
35+
# Set working directory
36+
WORKDIR /workspace
37+
38+
# Default command
39+
CMD ["bash"]

.github/ciimage/Dockerfile.fedora

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Use a specific Fedora base image
2+
FROM fedora:34
3+
4+
# Set environment variables to avoid interaction
5+
ENV TZ=UTC
6+
7+
# Install system dependencies and clean up
8+
RUN dnf -y update && \
9+
dnf -y groupinstall "Development Tools" && \
10+
dnf install -y \
11+
gcc \
12+
gcc-c++ \
13+
clang \
14+
gdb \
15+
llvm \
16+
wget \
17+
python3 \
18+
python3-pip \
19+
git && \
20+
dnf clean all
21+
# Install Meson and Ninja using pip
22+
RUN python3 -m pip install --no-cache-dir meson ninja
23+
24+
# Set environment variables
25+
ENV CC=/usr/bin/clang
26+
ENV CXX=/usr/bin/clang++
27+
ENV LD_LIBRARY_PATH=/usr/local/lib64
28+
29+
# Set working directory
30+
WORKDIR /workspace
31+
32+
# Default command
33+
CMD ["bash"]

.github/ciimage/Dockerfile.ubuntu

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Use a specific Ubuntu base image
2+
FROM ubuntu:20.04
3+
4+
# Set environment variables to avoid interaction
5+
ENV DEBIAN_FRONTEND=noninteractive \
6+
TZ=UTC
7+
8+
# Install system dependencies and clean up
9+
RUN apt-get update && \
10+
apt-get install -y \
11+
build-essential \
12+
clang \
13+
gcc \
14+
g++ \
15+
gdb \
16+
llvm \
17+
libstdc++-10-dev \
18+
wget \
19+
python3 \
20+
python3-pip \
21+
git \
22+
tzdata && \
23+
apt-get clean && \
24+
rm -rf /var/lib/apt/lists/*
25+
26+
RUN python3 -m pip install --no-cache-dir meson ninja
27+
28+
# Set environment variables
29+
ENV CC=/usr/bin/gcc
30+
ENV CXX=/usr/bin/g++
31+
ENV LD_LIBRARY_PATH=/usr/local/lib

.github/crossfiles/arm.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[binaries]
2+
c = 'arm-linux-gnueabi-gcc'
3+
cpp = 'arm-linux-gnueabi-g++'
4+
ar = 'arm-linux-gnueabi-ar'
5+
strip = 'arm-linux-gnueabi-strip'
6+
7+
[host_machine]
8+
system = 'linux'
9+
cpu_family = 'arm'
10+
cpu = 'armv7'
11+
endian = 'little'

.github/crossfiles/arm64.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[binaries]
2+
c = 'aarch64-linux-gnu-gcc'
3+
cpp = 'aarch64-linux-gnu-g++'
4+
ar = 'aarch64-linux-gnu-ar'
5+
strip = 'aarch64-linux-gnu-strip'
6+
7+
[host_machine]
8+
system = 'linux'
9+
cpu_family = 'aarch64'
10+
cpu = 'aarch64'
11+
endian = 'little'

0 commit comments

Comments
 (0)